package wolf.iu.framework;

public class Timer {
    private long startTime;
    
    public Timer() {
        this.restart();
    }
    
    public void restart() {
        this.startTime = System.currentTimeMillis();
    }
    public long stop() {
        final long time = System.currentTimeMillis() - this.startTime;
        this.startTime = 0;
        return time;
    }
}
